package org.dromara.system.domain.vo;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.dromara.system.domain.TRechargeCode;
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 充值码明细视图对象 t_recharge_code
 *
 * @author Miles Meng
 * @date 2025-08-08
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = TRechargeCode.class)
public class TRechargeCodeVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @ExcelProperty(value = "主键ID")
    private Long id;

    /**
     * 充值码
     */
    @ExcelProperty(value = "充值码")
    private String code;

    /**
     * 充值码积分
     */
    @ExcelProperty(value = "充值码积分")
    private Long points;

    /**
     * 是否可用 Y N
     */
    @ExcelProperty(value = "是否可用 Y N")
    private String status;

    /**
     * 批次
     */
    @ExcelProperty(value = "批次")
    private String batch;

    /**
     * 充值码定义Id
     */
    @ExcelProperty(value = "充值码定义Id")
    private Long rechargeId;

    /**
     * 使用人id
     */
    @ExcelProperty(value = "使用人id")
    private Long userId;

    /**
     * 实际兑换时间
     */
    @ExcelProperty(value = "实际兑换时间")
    private Date useTime;


}
